#ifndef __UTIL_H__
#define __UTIL_H__
#include <time.h> 


static void timestampToym(const time_t tt, const int timezoneinmin, int& ym)
{
	time_t ltt = tt + (timezoneinmin * 60);
	struct tm* ttime = ::gmtime(&ltt);
	ym = (ttime->tm_year + 1900) * 100 + (ttime->tm_mon + 1);

	return;
}

#endif